home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1995 #5 & #6
/
Amiga Plus CD - 1995 - No. 5 and 6.iso
/
pd
/
serien
/
purity
/
nr.10
/
demo
/
vdx.i
/
vd7.i
< prev
next >
Wrap
Text File
|
1995-04-19
|
2KB
|
94 lines
{ * VD7.i * }
Function VD7 : String;
Const
ObjectPoints : ARRAY[0..20] OF Short = { Punkt-Tabelle }
(
5,
0, 0,-400, 0,
300,-300, 200, 0,
-100,-100, 200, 0,
-300, 300, 200, 0,
100, 100, 200, 0
);
ObjectAreas : ARRAY[0..55] OF Short = { Flächen-Tabelle }
(
5,
4,1, 1*4,2*4,3*4,4*4,1*4, 0,0,0,0,
3,2, 0*4,2*4,1*4,0*4, 0,0,0,0,0,
3,3, 0*4,3*4,2*4,0*4, 0,0,0,0,0,
3,4, 0*4,4*4,3*4,0*4, 0,0,0,0,0,
3,5, 0*4,1*4,4*4,0*4, 0,0,0,0,0
);
ObjectMove : ARRAY[0..91] OF Short =
(
180, 0, 0, 0, 1,0,0, { Positionierung und Animationspfad }
200, 0, 0, 82, 0,0,1, { Positionierung und Animationspfad }
300, 0, 0, 0, 7,2,1,
200, 0, 0,-52, 4,1,1,
{ Zeit, move-x,-y,-z, rotx,roty,rotz, }
200, 4, 5, -3, 1,0,1,
200, -4, 0, 3, 0,2,1,
280, 0,-5, 0, 1,1,2,
100,-20, 0, 0, 0,0,3,
100, 40, 0, 0, 2,0,0,
100,-20, 0, 0, 3,1,2,
100, 0, 0, 0, 7,8,3,
100, 0, 0, 0, 0,0,1,
100, 0, 0,-99, 1,1,2,
END_1
);
MyColTab : ARRAY[0..32] OF Short = { Farbtabelle }
(
0, 0, 0, 0, { Register, Rot,Grün,Blau }
1, 8, 8,15,
2, 13,13, 0,
3, 12,12, 0,
4, 3,13, 3,
5, 2,12, 2,
6, 8, 8, 8,
7, 14,14,14,
-1
);
BEGIN
MyObject.Point_Data := Adr(ObjectPoints);
MyObject.Area_Data := Adr(ObjectAreas);
MyObject.Move_Table := Adr(ObjectMove);
MyWorld.flags := 0;
MyWorld.first := Adr(MyObject);
{ "Animationsscreen" öffnen }
MyViewStruct := OpenVScreen( Adr(MyVScreen) );
IF MyViewStruct = NIL THEN
VD7 := "Sorry, null Vektor";
Error := SetColors( MyViewStruct, Adr(MyColTab) ); { Farben setzen }
Error := AutoScaleOn( MyVScreen.ViewModes ); { Entzerrung für höhere Auflösung }
Error := DoAnim( Adr(MyWorld) ); { Auf zur Animation!! }
Error := CloseVScreen(); { Bildschirm schließen }
VD7 := "Is` mir schlecht ...";
END;